{include file="header.html"}
<script type="text/javascript">
//<!CDATA[
$(function(){
    // multi-select mall_gcategory
    $('#gcategory').length>0 && gcategoryInit("gcategory");
});
//]]>
</script>
<div id="rightTop">
  <p>{$lang.tax}</p>
  <ul class="subnav">
    <li><!--{if $smarty.get.closed}--><a class="btn1" href="index.php?app=my_tax">{$lang.all_tax}</a><!--{else}--><span>{$lang.all_tax}</span><!--{/if}--></li>
    <li><!--{if $smarty.get.closed}--><span>{$lang.closed}</span><!--{else}--><a class="btn1" href="index.php?app=my_tax&act=add">{$lang.insert_tax}</a><!--{/if}--></li>
  </ul>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $tax_list}-->
    <tr class="tatr1">
      <td width="10%" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td width="20%"><span ectype="order_by" fieldname="tax_name">{$lang.tax_name}</span></td>
      <td width="20%"><span ectype="order_by" fieldname="consumption_tax">{$lang.consumption_tax}</span></td>
      <td width="20%"><span ectype="order_by" fieldname="add_tax">{$lang.add_tax}</span></td>
      <td width="20%"><span ectype="order_by" fieldname="consolidated_tax">{$lang.consolidated_tax}</span></td>
      <td>{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$tax_list item=tax}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$tax.tax_id}"/></td>
      <td>{$tax.tax_name}</td>
      <td><!--{if $tax.consumption_tax}-->{$tax.consumption_tax}<!--{else}-->0.00<!--{/if}--></td>
      <td>{$tax.add_tax}</td>
      <td>{$tax.consolidated_tax}</td>
      <td><a href="index.php?app=my_tax&amp;act=edit&amp;id={$tax.tax_id}">{$lang.edit}</a></td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data info">
      <td colspan="8">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $tax_list}-->
  <div id="dataFuncs">
    <div id="batchAction" class="left paddingT15"> <!--{if !$smarty.get.closed}-->
          &nbsp;&nbsp;<!--{/if}-->
      <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=my_tax&act=drop&ret_page={$page_info.curr_page}" presubmit="confirm('{$lang.drop_confirm}')" />
    </div>
    <div class="pageLinks">{include file=page.bottom.html}</div>
   <!--{/if}-->
  </div>
  <div class="clear"></div>
</div>
{include file="footer.html"}